/*
 * @Author: 迩安 14166156+zxp_lzu@user.noreply.gitee.com
 * @Date: 2024-08-14 14:14:58
 * @LastEditors: 迩安 14166156+zxp_lzu@user.noreply.gitee.com
 * @LastEditTime: 2024-08-14 15:46:42
 * @FilePath: \echarts\src\router\index.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import {createRouter,createWebHistory} from 'vue-router'
import makeChart from '@/views/makeChart.vue' 
import dataShow from '@/views/dataShow.vue'
import chartCenter from '@/views/chart-center.vue'

const routes = [
    {path:'/',
        component:chartCenter,
    children:[{path:'/chart', component:makeChart},
        {path:'/datashow',component:dataShow}
    ]
}
    

]

const router = createRouter({
    history:createWebHistory(),
    routes:routes
})

export default router